@charset "utf-8";
@bgcolor:rgb(247,247,250);
@bgcolor2:rgb(34,34,34);
@bgcolor3:#fff;

*{
    padding: 0;
    margin: 0;
}
.color-tog{
background-color: #fb6332 !important;
}
body{
    padding-top: 120px;
    height: 3000px;
}
// 头部导航
nav{
    background-color: @bgcolor2;
    width: 100%;
    position: fixed;
    top: 0;
    z-index: 20;
    >.wrapper{
        height: 36px;
        width: 1248px;
        padding: 8px;
        margin: 0 auto;
        display: flex;
        justify-content: space-between;
    }
}

nav>.wrapper>div>a{
        color: white;
        text-decoration: none;
        font-size: 12px;
    }
.nav-left>a{
    margin-right: 18px;
}
.nav-right>a{
    padding: 0 12px;
}
.down-a{
    border-right: 1px solid #fff;
    position: relative;
    
    >.down-logo{
    position: absolute;
    top: 24px;
    border: 1px solid #ccc;
    background-color:#fff ;
    width: 150px;
    padding: 3px;
    border-radius: 8px;
    display: none;
    box-shadow: 0 0 1px 1px #ccc;
    
    >img{
        width: 140px;
        padding: 5px;
        border-radius: 10px;
        z-index: 3;
    }
}
}
.down-a:hover .down-logo{
    display: block;
}
.down-logo>p{
    font-size: 12px;
    text-align: center;
    color: #000;
}
.nav-right a:nth-child(3){
    border-right: 1px solid #fff;
    border-left: 1px solid #fff;
}

// 头部导航第二部分
.nav2{
    position: fixed;
    width: 100%;
    top: 36px;
    z-index: 2;
    background-color: #fff;

    >.wrapper{
        width: 1248px;
        height: 84px;
        margin: 0 auto;
        padding: 8px;
        display: flex;
        justify-content: space-between;
    }
}
.nav2 .wrapper div a{
    text-decoration: none;
    color:#000;
    font-size: 14px;
    line-height: 68px;
    padding: 22px;
}
.nav_logo{
    height: 50px;
    width: auto;
    padding-right:30px;
    margin-left: -22px;
    position: relative;
}

.nav2_r{
    display: flex;
    align-self: center;
    height: 36px;
    padding: 8px 16px;
    background-color:rgb(246,246,246);
    border-radius: 20px;
    >input{
        width: 128px;
        height: 20px;
        border: 0;
        outline: 0;
        background-color: transparent;   
    }
    input::-webkit-input-placeholder{
        color: #dedede;
    }
}

// 主体部分
main{
    border-bottom: 1px solid #ccc;
    >.wrapper{
        width: 1264px;
        margin: 40px auto 64px;
        
        // 主体第一部分
        >.main-1{
            width: 100%;
            display: flex;
            justify-content: space-between;
            border-bottom: 1px solid #ccc;
            padding-bottom: 32px;
            >.main-1-l{
                >.video-wrapper{
                width: 600px;
                height: 600px;
                background-position: 50%;
                background-size: cover;
                background-color: #000;
                >video{
                    width: 100%;
                    height: 600px;
                }
                }
            >.swiper{
                max-width: 600px;
                margin-top: 24px;
                overflow: hidden;
                position: relative;
                >.swiper-container{
                    max-width: 510px;
                    overflow: hidden;
                    padding: 0;
                    margin: 0 45px;
                    >.swiper-wrapper{
                        display: flex;
                        >img{
                            widows: 90px;
                            height: 90px;
                            margin-right: 43.5px;
                        }
                    }
                    
                }
                >i{
                    position: absolute;
                    margin-top: 0;
                    top: 50%;
                    left: 22.5px;
                    color: #000;
                }
                >b{
                    position: absolute;
                    margin-top: 0;
                    top: 50%;
                    right: 22.5px;
                    color: #000;
                }
                
            }
        }
            >.main-1-r{
            width: 600px;
            >.main-title>p{
                font-size: 28px;
                font-weight: 400;
                color: #000;
                display: flex;
                align-items: center; 
            }
            // 主体右第一小块
            >.main-r-1{
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin: 20px 0 12px 0;
                >div:first-child{
                    >span{
                        padding: 0 6px;
                        border-radius: 3px;
                        height: 24px;
                        font-size: 14px;
                        font-weight: 400;
                        color: #f63434;
                        line-height: 24px;
                        background: #fff3f3;
                        cursor: pointer;
                    }
                }
                >div:last-child{
                    
                    >i,span{
                        border-radius: 3px;
                        height: 24px;
                        font-size: 14px;
                        font-weight: 400;
                        color: #f63434;
                        line-height: 24px;
                        cursor: pointer;
                    }
                }
            }

            // 主体右第二小块
            >.main-r-2{
                margin: 16px 0 18px 0;
                >p{
                    margin: 0;
                    line-height: 28px;
                    font-size: 14px;
                }
                >p:first-child{
                    color: #f79a47;
                }
                >a{
                    color: #f79a47;
                    text-decoration: none;
                    line-height: 28px;
                    font-size: 14px;
                }
            }

            // 主体右第三小块
            .main-r-3{
                >span{
                    font-size: 24px;
                    color: #f34141;
                }
                >b{
                    font-size: 36px;
                    color: #f34141;
                    line-height: 38px;
                }
            }

            // 主体右第四小块
            .main-r-4{
                margin-top: 30px;
                height: 88px;
                width: 600px;
                overflow: hidden;
                display: flex;
                >div{
                   width: 720px;
                   >div{
                        width: 120px;
                        display: flex;
                        flex-direction: column;
                        align-items: center;
                        >img{
                        width: 32px;
                        height: 32px;
                        }
                        >div:nth-child(2){
                            height: 24px;
                            font-weight: 400;
                            color: #000;
                            line-height: 24px;
                            margin:8px 0 4px 0;
                        }
                        >div:last-child{
                            height: 20px;
                            font-size: 12px;
                            color: #737373;
                            line-height: 20px;
                        }
                    }
                   
                }
            }

            // 主体右第五小块
            .main-r-5{
                >p{
                    margin: 32px 0 12px 0;
                }
                >div{
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: space-between;
                    >button{
                        width: 49%;
                        height: 60px;
                        line-height: 60px;
                        text-align: center;
                        border-radius: 6px;
                        border: 1px solid #ccc;
                        margin: 8px 0;
                        background-color: #fff;
                    &:hover{
                        color: #f50514;;
                    }
                    }
                }
            }

            // 主体右第六小块
            .main-r-6{
                >p{
                    margin: 32px 0 12px 0;
                }
                >div:nth-child(2){
                    display: flex;
                    flex-wrap: wrap;
                    justify-content: space-between;
                    >button{
                        width: 49%;
                        height: 60px;
                        line-height: 60px;
                        text-align: center;
                        border-radius: 6px;
                        border: 1px solid #ccc;
                        margin: 8px 0;
                        background-color: #fff;
                        &:hover{
                            color: #f50514;;
                        }
                    }
                }
                >div:last-child{
                    >button{
                        width: 100%;
                        height: 60px;
                        line-height: 60px;
                        text-align: center;
                        border-radius: 6px;
                        border: 1px solid #ccc;
                        margin: 8px 0;
                        background-color: #fff;
                        &:hover{
                        color: #f50514;;
                    }
                    }
                    
                }
            }

            // 主体右第七小块
            .main-r-7{
                margin-bottom: 28px;
                >p{
                    margin: 32px 0 12px 0;
                }
                >div{
                    >button{
                        height: 40px;
                        width: 40px;
                        background: #f7f8fa;
                        border-radius: 6px;
                        border: 0;
                        font-size: 24px;
                        user-select: none;
                    }
                    >input{
                        text-align: center;
                        outline: none;
                        width: 43px;
                        height: 30px;
                        line-height: 30px;
                        border: 0;
                        font-size: 20px;
                    }
                    input::-webkit-outer-spin-button,input::-webkit-inner-spin-button{
                        -webkit-appearance: none !important; 
                       }
                      
                    >span{
                        font-weight: 400;
                        color: #f50514;
                        height: 24px;
                        font-size: 14px;
                        line-height: 24px;
                    }
                }
            }

            // 主体右第八小块
            .main-r-8{
                border-top: 1px solid #ccc;
                >div:first-child{
                    padding: 32px 0 20px 0;
                    display: flex;
                    justify-content: space-between;
                    align-items: center;
                    >div{
                        font-size: 12px;
                        >a{
                            text-decoration: none;
                        }
                    }
                }

                >div:nth-child(2){
                    margin-bottom: 20px;
                    >p{
                        color: #333;
                        line-height: 24px;
                        margin-bottom: 8px;
                    }
                    >div{
                        display: flex;
                        flex-wrap: wrap;
                        justify-content: space-between;
                        >button{
                            width: 49%;
                            height: 60px;
                            line-height: 60px;
                            text-align: center;
                            border-radius: 6px;
                            border: 1px solid #ccc;
                            background-color: #fff;
                            padding: 0 8px ;
                            >del{
                                opacity: .4;
                            }
                            &:hover{
                                color: #f50514;;
                            }
                        }
                    }
                }

                >div:nth-child(3){
                    margin-bottom: 20px;
                    >b{
                        color: rgb(255, 103, 18);
                        font-weight: normal;
                        line-height: 24px;
                    }
                    >div{
                        >button{
                            width: 100%;
                            height: 60px;
                            line-height: 60px;
                            text-align: center;
                            border-radius: 6px;
                            border: 1px solid #ccc;
                            background-color: #fff;
                            >del{
                                opacity: .4;
                            }
                            &:hover{
                            color: #f50514;;
                        }
                        }
                    }
                }

                >div:nth-child(4){
                    margin-bottom: 20px;
                    >p{
                        color: #333;
                        line-height: 24px;
                        margin-bottom: 8px;
                    }
                    >div{
                        display: flex;
                        flex-wrap: wrap;
                        justify-content: space-between;
                        >button{
                            width: 49%;
                            height: 60px;
                            line-height: 60px;
                            text-align: center;
                            border-radius: 6px;
                            border: 1px solid #ccc;
                            background-color: #fff;
                            padding: 0 8px ;
                            >del{
                                opacity: .4;
                            }
                            &:hover{
                                color: #f50514;;
                            }
                        }
                    }
                }

                >div:nth-child(5){
                    margin-bottom: 20px;
                    >div{
                        >button{
                            width: 100%;
                            height: 60px;
                            line-height: 60px;
                            text-align: center;
                            border-radius: 6px;
                            border: 1px solid #ccc;
                            margin: 8px 0;
                            background-color: #fff;
                            >del{
                                opacity: .4;
                            }
                            &:hover{
                            color: #f50514;;
                        }
                        }
                    }
                }
            }
           
            }
        }

        // 主体第二部分 超值加购
        >.main-2{
            margin-top: 24px ;
            padding-bottom: 32px;
            border-bottom: 1px solid #ccc;
            >.main-2-1{
                display: flex;
                justify-content: space-between;
                align-items: center;
                >div:first-child{
                    >span{
                        height: 30px;
                        font-size: 20px;
                        font-weight: 400;
                        color: #000;
                        line-height: 30px;
                    }
                    >b{
                        height: 20px;
                        font-size: 14px;
                        font-weight: 400;
                        color: #666;
                        line-height: 20px;
                    }
                }
                >div:last-child{
                    >i{
                        width: 30px;
                        cursor: pointer;
                    }
                }
            }

            >.main-2-2{
                display: flex;
                justify-content: space-between;
                align-items: center;
                margin-top: 16px;
                >.main-2-2-l{
                    width: calc(25% - 30px);
                    display: flex;
                    flex-direction: column;
                    align-items: center;
                    height: 286px;
                    max-width: 300px;
                    border: 1px solid #ccc;
                    border-radius: 6px;
                    &:hover{
                        border: 1px solid rgb(235, 81, 9);
                    }
                    >img{
                        margin-top: 27px;
                        width: 154px;
                    }
                    >span{
                        margin-top: 16px;
                    }
                    >i{
                        margin-top: 4px;
                        font-style: normal;
                        height: 30px;
                        font-size: 20px;
                        font-weight: 500;
                        color: #000;
                        line-height: 30px;
                    }
                }
                >div:nth-child(2){
                    width: 80px;
                    font-size: 2.125rem!important;
                    line-height: 2.5rem;
                    text-align: center;
                }
                >.main-2-2-r{
                    width: calc(75% - 60px);
                    overflow: hidden;
                    >.wrapper{
                        width: 302.667 * 5px;
                        display: flex;
                        justify-content: space-between;
                        >div{
                            display: flex;
                            flex-direction: column;
                            align-items: center;
                            width: 33%;
                            height: 286px;
                            margin-right: 20px;
                            border: 1px solid #ccc;
                            border-radius: 6px;
                            position: relative;
                            &:hover{
                                border: 1px solid rgb(235, 81, 9);
                            }
                            >img{
                                width: 154px;
                                margin-top: 27px;
                            }
                            >span{
                                margin-top: 16px;
                            }
                            >i{
                                margin-top: 4px;
                                font-style: normal;
                                height: 30px;
                                font-size: 20px;
                                font-weight: 500;
                                color: #000;
                                line-height: 30px;
                                >del{
                                    height: 26px;
                                    font-size: 16px;
                                    font-weight: 400;
                                    color: #000;
                                    line-height: 26px;
                                    opacity: .4;
                                }
                            }
                            >b{
                                position: absolute;
                                top: 0;
                                right: 0;
                                width: 40px;
                                height: 40px;
                                line-height: 40px;
                                background: #ddd;
                                border-radius: 0 0 0 8px;
                                text-align: center;
                                color: #fff;
                                cursor: pointer;
                            }
                            
                        }
                    }
                }
            }
        }

        // 加入购物车
        >.main-3{
            margin-top: 32px;
            >.main-3-t{
                display: flex;
                justify-content: space-between;
                align-items: center;
                >div:first-child{
                    >i{
                        font-size: 24px;
                        font-style: normal;
                        font-weight: 400;
                        color: #f63434;
                        line-height: 38px;
                    }
                    >span{
                        height: 38px;
                        font-size: 32px;
                        font-weight: 400;
                        color: #f63434;
                        line-height: 38px;
                    }
                    >p{
                        margin: 10px 0 20px 0;
                    }
                }
                >div:last-child{
                    display: flex;
                    align-items: center;
                    >button{
                        height: 66px;
                        width: 224px;
                        border: 1px solid rgba(0,0,0,.1);
                        border-radius: 66px;
                        font-size: 18px;
                        font-weight: 500;
                        color: #262626;
                        background-color: #fff;
                        margin-right: 16px;
                        outline: none;
                    }
                    >a{
                        text-decoration: none;
                        color: #fff;
                        width: 224px;
                        height: 66px;
                        line-height: 66px;
                        background: #f34141;
                        border-radius: 66px;
                        font-size: 18px;
                        font-weight: 500;
                        text-align: center;
                    }
                }
            }
            >.main-3-b{
                display: flex;
                >div{
                    display: flex;
                    margin-right: 24px;
                    >span{
                        font-size: 14px;
                        font-weight: 400;
                        color: #666;
                        height: 24px;
                        line-height: 24px;
                        margin-left: 4px;
                    }
                }
            }
        }
    } 
}

// 详细介绍及评论
.details{
    .wrapper{
        width: 1264px;
        margin: auto;

        // 详情导航
        >.details-nav{
            height: 63px;
            width: 50%;
            margin: auto;
            display: flex;
            >div{
                align-items: center;
                cursor: pointer;
                display: flex;
                flex: 0 1 auto;
                font-size: .875rem;
                font-weight: 500;
                justify-content: center;
                letter-spacing: .0892857143em;
                line-height: normal;
                padding: 0 16px;
                position: relative;
                text-align: center;
                -webkit-user-select: none;
                -moz-user-select: none;
                -ms-user-select: none;
                user-select: none;
            }
            >div:first-child{
                margin-left: 115.672px;
            }
            >div:last-child{
                margin-right: 115.672px;
            }
        }

        // 商品详情
        >.details-img{
            padding-bottom: 60px;
            border-bottom: 2px solid #ccc;
            width: 100%;
            img{
                width: 100%;
            }
        }

        // 评论
        .comment{
            >.comment-1{
                display: flex;
                margin-top: 32px ;
                align-items: center;
                height: 69px;
                >div:first-child{
                    padding: 8px;
                    text-align: center;
                    padding-right: 40px;
                    border-right: 1px solid #ccc;
                    >span{
                        height: 38px;
                        font-size: 32px;
                        font-weight: 500;
                        color: #f34141;
                        line-height: 38px;                        
                    }
                    >b{
                        height: 24px;
                        font-weight: 400;
                        color: #000;
                        line-height: 24px;
                        margin-left: 8px;
                    }
                }
                >div:last-child{
                    padding: 8px;
                    display: flex;
                    margin-left: 40px;
                    >div{
                        display: inline-block;
                        padding: 0 12px;
                        height: 32px;
                        line-height: 32px;
                        background: rgba(0,0,0,.04);
                        border-radius: 3px;
                        margin-bottom: 16px;
                        cursor: pointer;
                        margin: 0 12px 16px 0;
                    }
                }
            }

            >.comment-2{
                margin-top:36px ;
                height: 48px;
                border-top: 1px solid rgba(0,0,0,.08);
                border-bottom: 1px solid rgba(0,0,0,.08);
                display: flex;
                justify-content: space-between;
                align-items: center;
                >div:first-child{
                    >span{
                        margin-right: 32px;
                        cursor: pointer;
                    }
                }
                >div:last-child{
                    cursor: pointer;
                    &:hover{
                        color: #f50514;
                    }
                }
            }

            >.comment-3{
                display: flex;
                padding-bottom: 40px;
                border-bottom: 1px solid #ccc;
                >.comment-3-l{
                    padding: 8px;
                    width: 25%;
                    >div{
                        display: flex;
                        align-items: center;
                        >i{
                            height: 60px;
                            width: 60px;
                            background-color: rgb(214,214,214) ;
                            border-radius: 50%;
                            text-align: center;
                            line-height: 60px;
                            color: #fff;
                            font-size: 30px;
                        }
                        >div{
                            margin-left: 12px;
                            >span{
                                width: 112px;
                                height: 22px;
                                font-size: 16px;
                                color: #000;
                                line-height: 22px;
                                white-space: nowrap;
                                overflow: hidden;
                                text-overflow: ellipsis;
                            }
                            >p{
                                margin: 4px 0 0 0;
                                height: 20px;
                                font-size: 12px;
                                font-weight: 400;
                                color: #343a40;
                                line-height: 20px;
                            }
                        }
                    }
                }
                >.comment-3-r{
                    padding: 8px;
                    >div:first-child{
                        margin-bottom: 12px;
                    }
                    >div:nth-child(3){
                        margin-top: 16px;
                        >img{
                            width: 80px;
                            margin-right: 8px;
                        }
                    }
                    >div:nth-child(4){
                        margin-top: 16px;
                        margin-bottom: 28px;
                        >b{
                            color: #ff6712;
                            line-height: 24px;
                        }
                    }
                    >div:last-child{
                        display: flex;
                        align-items: center;
                        padding: 10px 18px;
                        background: rgba(0,0,0,.04);
                    }
                }
            }
        }
    }
}

// 尾部
footer{
    padding: 48px 0 6px 0;
    >.wrapper{
        padding: 8px !important;
        width: 1264px !important;
        margin: auto;
        >.footer-1{
            display: flex;
            justify-content: space-between;
            padding-bottom: 40px;
            border-bottom:1px solid #ccc ;
            >div{
                width: 20%;
                display: flex;
                flex-direction: column;
                align-items: center;
                >p{
                    margin-top: 8px;
                    font-size: 16px;
                }
            }
        }
        >.footer-2{
            display: flex;
            justify-content: space-between;
            padding:64px 0 48px 0;
            border-bottom: 1px solid #ccc;
            >.footer-2-l{
                display: flex;
                >div{
                    display: flex;
                    flex-direction: column;
                    padding: 8px;
                    >div{
                        margin-bottom: 1em;
                        font-size: 16px;
                        font-weight: 900;
                    }
                    >a{
                        text-decoration: none;
                        color: #535355;
                        margin-bottom: 1em;
                        font-size: 16px;
                    }
                }
            }
            >.footer-2-r{
                >a{
                    cursor: pointer;
                    border-radius: 2em;
                    color: #fff;
                    font-weight: 500;
                    background-color: #535355;
                    height: 51px;
                    width: 173px;
                    font-size: 15px;
                    display: flex;
                    align-items: center;
                    justify-content: center;
                    margin-bottom: 24px;
                    text-decoration: none;
                }
                p:nth-child(2){
                    text-align: right;
                    font-size: 24px;
                    font-weight: 500;
                    letter-spacing: .0125em!important;
                    margin: 0;

                }
                >p:last-child{
                    text-align: right;
                    font-size: 12px;
                    color: #535355;
                }
            }
        }
        >.footer-3{
            margin: 16px 0 32px 0;
            >div:first-child{
                margin-bottom: 16px;
                >a{
                    text-decoration: none;
                    color: #acabb0;
                    font-size: 12px;
                }
                >span{
                    color: #acabb0;
                    font-size: 12px;
                }
            }
            >div:last-child{
                >a{
                  text-decoration: none;
                  color: #acabb0;  
                  margin-left: 8px;
                }
                
            }
        }
    }
}